package com.dao;

import java.util.List;
import java.util.Map;

import com.model.Staff;
import com.model.User;

public interface StaffMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Staff record);

    int insertSelective(Staff record);

    Staff selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Staff record);

    int updateByPrimaryKeyWithBLOBs(Staff record);

    int updateByPrimaryKey(Staff record);
    
    List<Staff> selectAllStaffs(Map<Object, Object> map);
    
    public int countStaffs();
    
    Staff selectByUsernameAndPassword(Map<Object, Object> map);
    
    
}